package com.xiaoyg.proxy.cglib;


import org.junit.Test;

public class CglibDynamicProxyPatternTest {

    @Test
    public void cglibDynamicProxyPatternTest(){
        HelloService cglibProxySubject = (HelloService) new CglibDynamicProxy(new HelloService()).newProxyInstance();
        cglibProxySubject.sayHello();
    }

}
